import request from '@/utils/request'
import qs from 'qs'

const api = {
  getDataChart: '/safework/chartController/getDataChart.action'
}

export default api

export function getDataChart (data) {
  return request({
    url: api.getDataChart,
    method: 'post',
    data: qs.stringify(data)
  })
}